Skip to content

Conversation

aaron13100
Copy link

This is different than launch() because it respects the delay (whereas launch() just does everything at once).

Feel free to not accept this or change it however you like. I haven't tested it at all as the changes I made were in JavaScript and I can't get the project to build/work with typescript.

Checklist

This is different than launch() because it respects the delay (whereas launch() just does everything at once).

Feel free to not accept this or change it however you like. I haven't tested it at all as the changes I made were in JavaScript and I can't get the project to build/work with typescript.
@crashmax-dev
Copy link
Owner

@aaron13100 you misunderstand me. 😄

i mean about this:

  • use my own function to play audio so I can adjust the volume and follow whether it's playing or not.
  • wait to load the audioContext until initTrace() so there's no warning about missing user interaction in Firefox.

currently implemented like this:

launch(count = 1): void {
for (let i = 0; i < count; i++) {
this.createTrace()
}
if (!this.waitStopRaf) {
this.start()
this.waitStop()
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants